﻿/*复选框自定义样式 20180913 By zgcwkj*/
.zg-check {
    font-size: 12px;
    cursor: pointer;
    -webkit-user-select: none;
}

    .zg-check i {
        width: 12px;
        height: 12px;
        font-size: 12px;
        font-style: normal;
        display: inline-block;
        text-align: center;
        line-height: 12px;
        color: #fff;
        vertical-align: middle;
        margin: -2px 2px 1px 0px;
        border: #2489c5 1px solid;
    }

    .zg-check input[type="checkbox"], input[type="radio"] {
        display: none;
    }

    .zg-check input[type="radio"] + i {
        border-radius: 7px;
    }

    .zg-check input[type="checkbox"]:checked + i, input[type="radio"]:checked + i {
        background: #2489c5;
    }

    .zg-check input[type="checkbox"]:disabled + i, input[type="radio"]:disabled + i {
        border-color: #ccc;
    }

    .zg-check input[type="checkbox"]:checked:disabled + i, input[type="radio"]:checked:disabled + i {
        background: #ccc;
    }